var s = ""
if ((navigator.userAgent.indexOf('MSIE') >= 0)
    && (navigator.userAgent.indexOf('Opera') < 0)){
    s += "<object id='WebOffice1' height='768' width='100%' style='LEFT: 0px; TOP: 0px'  classid='clsid:E77E049B-23FC-4DB8-B756-60529A35FAD5' codebase='../js/WebOffice.cab#Version=7,0,1,0'>"
    s +="<param name='_ExtentX' value='6350'><param name='_ExtentY' value='6350'>"
    s +="</OBJECT>"
}else{
    s += "<object  id='Control' TYPE='application/x-itst-activex' ALIGN='baseline' BORDER='0' height='768' width='100%' clsid='{E77E049B-23FC-4DB8-B756-60529A35FAD5}'>";
    s += "</object>";
}
document.write(s)